Originally Posted by Chappy
As soon as the ref manipulates the player, the player is neutral. This has to be a universally accepted rule or the game becomes unfair for the player.
^^ This. And where I've played, if a ref is doing a paint check you don't fire on that person during the check.
In the video the ref had a hold on his arm, extended beyond the side of the bunker, for the check. Ref lets go and immediately after, but before the ref stands up announcing "he's clean!", there's the pop of the hit on that same arm. It appears to me that someone used that ref to gain an advantage and fired during the paint check.
All that said, when the OP told the ref what happened and the ref still called him out, bad call or not, start walking. OP did the right thing.