Revert "Revert "statusbar freeze fix (hopefully)""

This reverts commit 359e22a82c2df59b80d98b4564323ec57bf3e304.