Fix crash on startup (related to recent auto-hide change)