Fixes scaling when coming back from minimized