fix intersect detection with semi-transparent images
Merge branch 'bugfix-10828' into release-6.0.1