Don't show the image tip outside of the valid range of the x coordinates.