fix lockscreen rotation bug