Imagerecorder scale ratio made global

Imagerecorder now using currentImageRatio as a global variable, making
it accessible for calculating mouse position and such.