Corrected major fuckup in ray propagation logic

merci ürsu