Fixes an issue with determining the unscaledWidth and unscaledHeight of bitmaps when loading while they are not on the DOM (fix for IE8)