I mean she was clearly disillusioned and thought he was someone else. Randomly seeing your dead lover next to you can get people pretty fucked up. Not saying what she did was good, it was pretty fucked up, but it's not like her intentions were malicious. As long as it stops with the kiss, and she apologizes for it, it's a wash in my book.