Why are the doors moving to the wrong walls?

W

Work Study

When I add a door to a room drawing it often moves to the adjacent wall. This
mainly happens when I move it close to the edge of the wall that I want it to
be located. Why does this happen? How can I avoid it? It also happens with
Windows.
Thanks
 
Top