Corrected RenderParameters bugs