The hats aren't anchored correctly with custom animations such as this mod that adds a dedicated crawling hotkey, not moving with the plays head properly. It works with the vanilla swimming animation however.
fonnymunkey commented
While I didn't test specifically with the Crawl mod, I did test with multiple other similar working animation mods, this should be fixed as of 0.3.1, if it continues to be an issue create a new post.