Hit checking on click

onGridClick now checks if a click was on an actual bar. Not sure if this works in IE however. 
This depends on #474.