fix intersect detection with semi-transparent images