Fixing ray casting
Fixing ray casting!