Add gridline snapping for Draw and Select states.