Leo's behavior illustrates the disparity between front stage and back stage behaviors.
Leo presents a front stage behavior when he wants the audience to believe he's not racist, so he denies that he's racist. However, when nobody can actually see him, he presents a back stage behavior since the audience he wants to deceive is not present.