Started reverse of viewport_update_position
First draft of viewport_update.
Not working
Fix bugs with viewport
Finished viewport_update_position.
Trying to find cause of subtle bug
Tidied up 689174. Fixed remaining small map bugs
Merge pull request #359 from duncanspumpkin/investigate_viewport

viewport update position