Character teleport to specific location after certain movement / action

I found out the issue. Turned out it is due to the collision unable to work as intended when the size of the box is too small. It will work perfectly if I didn’t hit the threshold for the box size.