Correct raycast bug in Debug view