Minor fix in framebuffer rendering.