Fix a number of issues with scale invariance and zooming.
Fix zoom/pan with rotated tick labels.