[composer] Fix transformed map grids not drawn if set to Tick or Marker style (slow)
[composer] Cache transformed grid lines and intersections to slightly
speed up grid drawing