cause of strange projectile bug in point_to_line_distance_square?