bug fix: resize frame when status bar is visible