Fixing statusBar behavior