Fix extreme lag with custom renderers