Account for sprite origin when positioning.