Fixed many bugs in panning/zooming. Minor "jumping" artifacts still exist.