Fix up render so it doesn't keep appending