fix crash at startup if "Ignore windows on other monitors" is checked