Fixed double draw bug
Adjusted RayCasting