This happens when your game thinks you're in an interior. You can do it either by setting yourself to interior via a command or use a bug ingame. One of the bugs that works to cause it is jumping out of love fist's studio (jump over the sofa, there's no wall there.