Fixed screen orientation bug