Only windows with no transient windows participate in hidden children optimization