Fix render utility bug