Fix rescaling on orientationchange event.