Fixed a problem with the status bar behaving weirdly.