Modified the way coordinates are used for touch event dispatcher so the
grid cells are correctly calculated.