line_of_sight: Add the sunlight.propagates condition

Add the sunlight.propagates condition in the line_of_sight function. If the sun light can pass through a node then it should also be possible to see through it.