Remove ray casting calls