Make sure all deleted windows are removed from the lists

Calling tryRemove() on a window did not ensure the window was removed from the compositor's list.