hit_test fix