Anchor unit overlays to the topleft corner of the sprite.

Implements PR #22464.