fixed Vertical hit detection issue