You don't always have to detach. Try to reward her "good" behaviors and ignore the bad ones. You don't want to come off as over-eager but if she is starting to make some positive moves, it's ok to respond a little bit. Do you know her Love Languages? Try to unobtrusively speak them (such as, if hers is Words of Affirmation, try just a casual :that blouse looks nice" or "that's a good color on you".). Nothing too obvious - subtle.