In feeding mode, a ball python will strike at anything with enough heat to be considered food. I'd imagine that she went into that feeding crazy and felt the rat getting cooler to she went after the more intriguing heat source. I wouldn't worry about her mouth unless you notice her not wanting to eat or any swelling.