Fixed : correction of bug in alpha-channel management of lg_ttg_genericp function