Maybe you're too close to a wall behind you. Sometimes that happens to me when I'm placing objects down because the space I'm working in is too narrow. If anything you could try pressing the "controls" tab and using the different direction options there to set your den in the right spot instead of manually moving it into the spot with your cursor. Another thing you can try is just saving your map closing the game and just retrying to place it again.