shadowray fixes