This is fixed if you enable collisions (on 1.12.2/1.13.2, they don't work on 1.14.4 yet) or use the OldNoCubes renderer. This is going to be fixed soon:tm: by adding new mesh generators
Cadiboo commented
This has been fixed for ages in the 1.16 pre-releases