Fixed a bug which occured when the last monitor in your setup had only one window