fixed illegal title when saving image on windows
images flipped before showing