Fixed crash when closing properties window...

...when no room was selected