Change Fit to Screen functionality

The Fit to Screen method has become a map property and has made the
background image work as a frame that moves along with the viewport.
Fix algorithm for determining scaled image dimensions
Center background image in Fit To Screen mode