[nMainbar] Fix edge case where actionbar wasn't hiding properly.

Thanks @Grimsbain for supplying a fix.

Fix #50.