compensate for difference between bounds and visibleBounds when positioning equation on line