Yeah, making the goalposts higher would eliminate this from occurring once and for all. The only things I can think of that prevent this from happening are the spending of money to eliminate a judgement call that doesn’t occur very often and safety concerns (higher uprights might be more susceptible to high winds).