Notoriously, objects' positions are determined by their bounding volumes, not their pixel-precise positions on screen.
The positioning of objects is based on their spatial extent (bounding volume) rather than their exact pixel location on the screen.