added fix for wrong calls from some renderer