make sure we do not try to draw points all that far outside the drawing area