fix tgb renderer