Fix assertion crash when starting region panel

Fixes linuxmint/cinnamon#3067