Ladders on top of Jump through tiles bugs my game

I made this platform where the ladder is on top of a jump through tile, whenever i reach the end of the ladder, the character bugs out and automatically falls off the ladder instead of getting on top of the jump through tile.

is there a fix for this? I can send more screenshots if need be.