Some elements have a defined Snap Edge, which determines which edge of the element will snap to the wall if you position it near a wall.
To edit an element’s snap edge:
Access the element's properties.
Select the Behavior tab.
Click on the desired snap edge graphic in the Snap Edge area. Choose from None, Left, Right, Front or Back.
Click OK.