fix bug : PfWindow.get_image