Optimize rendering pass

Optimizes the rendering pass by computing the exact region to be drawn,
rather than polling the entire map for visible tiles.