"Rare Specimen" Hat Floating When Letting Go

Hello!

I’m trying to attempt “The Rarest Specimen” achievement and the hat now floats into the sky when I let go of it. I suspect this has something to do with the Long Jump Module as I was able to recreate the glitch by Long Jumping while holding the hat. However, I wasn’t able to recreate it a second time. I noticed this problem shortly after completing the Gargantua island section of this game.

EDIT: I was able to fix the issue by long jumping on a surface that wasn’t a liquid. If anyone has any ideas why this occurs, please message me!