fixing hit shader problems with images