draw gridlines and crosshair correctly