Fixed screen rotation problem