[Window] Fix : paint call when window is already destroyed