check your foundry layout grid option, if it is smaller than the grid you are using, you can change the grid option as same as the foundry option. then the problem will be gone.
when you draw layout, you are using the right grid option, then you can use some layout tool to adjust the origin of the layout to solve it.
the 3rd situation is the 45 degree situation, actually it is not a problem
if all above still do not solve your problem. maybe you need to redraw some of the layout.
good luck