The hand feeding itself is not likely the problem. I use hand fed birds for educational purposes and they do not flog. They are four years old so adequate time pasted to develop tendency.
Consider what your response is when birds inadvertently cause you discomfort.
Consider what your response is when birds inadvertently cause you discomfort.