If there is a window or other feature that limits your options, you can place the bed off-center. If you have an elaborate headboard, placing your bed on the wall opposite the door is a good idea.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.