Moving rendr loop suppression code into image handler