Study of scale invariance in a Bethe-Salpeter model