Fixed window:removeAll()