flip hit test to work properly with y value