There are other bug reports saying this issue has been resolved, but I just tested it in a new vanilla 1.16.5 world. The top texture of a cactus in a flower pot disappears when there is a slab placed in the upper half of a block above it. The type of slab doesn't seem to matter.
Environment
Windows 10 Pro, Ryzen 1600, Zotac 1060 Mini (3GB)
That's because MC-195461 was fixed in the 1.17 snapshots