Null entity check on raycast.