fix crash on startup if palette uses undefined shortcuts