Initial camera height above terrain is roughly working. Tracking height changes in the terrain while panning is now however due to circular logic.