Fixed grid to map click bug