Fix input type of is_inside_*