In vanilla, fire usually ends up floating when put onto a small block like a slab or a fence, this pushes the fire model tighter against the block and expands the fire hitbox to match.
Should work with any mods that add smaller flammable blocks.