Fixed multiple windows after docking.