When overriding the contexts window but not the screen, the context override would attempt to use the current screen with the new window. This raised an error and could crash when editing properties in the key-map editor for the "context toggle" operator.