IE8 Fix for "onAppResize" event