Fixed a bug where updating a parent window would override the refresh of a child window