Invert y coord of NS image files (bug#7847)