Make windows resize only when it has multiple viewers, not as soon as viewer 2 attaches