Hello , i hope your problem will be solved
I think it must come at the collision level, does your sprite have a frame? , does it have its square collision area? and not in a circle or other ?
I am pretty sure I fixed it, check to see.