Lava is displayed as opaque water.
To replicate the bug, just place down a bucket of lava. It works properly, slowing the player and burning him, but it doesn't display as lava.