Bug with fence gates and water.
If you are swimming in a one block high gap, and close yourself into a fence gate, you will stand through the block.
Related issues
relates to
Attachments
Comments

[media]

This would happen with any type of block intersection.

Think this might be fixed in 1.14-pre1

Resolved in 1.14-pre1

Confirmed fixed in 1.14 prerelease 1