bugfixes that concern everything around the raytracing feature