Terrain now draws correctly, panning is now done by holding shift-left
mouse or middle mouse.