Raycast Test

Siiick

so it has to do with the fill block? I'm not really sure how to fix that...

I think, yes.

Maybe the light outline can be made using svg path element with fill.
Or use the naive approach - immediately draw every ray as a cone (varying pen size at a distance) or a triangle.