Bugfix 11300 (for 6.1) - flip on referenced images

This is for merging into release-6.1.3