Status bar and rotation fixes