Think of it this way...

Acting happy actually takes some of the rejection you are feeling and places it on her.

Acting angry/unhappy around her helps her "demonize" you and helps justify in her mind the reasons she wants to leave.