Fix positioning of TextBoxOverlay

This addresses a situation where the component's origin is not (0, 0).