fix crash screen rotation