Fixed bug on change screen orientation