Fix Window.xml not found bug