fix no resize on device orientation