Correctly hide/show the status bar depending on property value.