fixed bug of setting of screen orientation of runtime