Fixed frame size which was wrong in some cases when status bar is visible.