Fix small renderer bug