Fix null rendered function case