fixed screen orientation issue with default display type