Fix for focus not changing with one open window and a transient window