[BUGFIX] Inherited sub template not used as active template