zerocodec: fix direct rendering.