Raytracing: small bugfix in preferences