At that moment, she chose. And she didn't choose the Order, or Harry, or the "right" thing. She chose Draco. Did it make her selfish? Yes. But then, the Sorting Hat had considered putting her in Slytherin, after all.