"Defensive" flirting?

I have a guy friend and we think of each other as brother and sister, he's engaged to be married, and while he is good looking I'm not vibin on him.

Well whenever my crush is around I find myself flirting with my friend, almost defensively, like as in to say "look I flirt with people other than just you, so it doesn't mean I like you"

And I really want to stop but I have developed a comfort zone with it and am unsure how to quit.

I feel like it's ruining my chances with my crush, but I also at the time don't want my crush to know I like him so I use it as a crutch.

My guy friend, who is a mutual friend between my crush and I, is well aware of my feelings for my crush too.

Any advice? Do you think I'm ruining my chances?
"Defensive" flirting?
Post Opinion