Map margins now work properly and reliably
No fancy panning though