What should I do?
If you have “Snap to pixel grid” enabled the shapes outline(blue box) will snap to the grid.
You could try to disable the snap or flatten the object, depending on what you want to achieve