I heard of a similar problem that was due to a home made replacement gate. I can't remember the detail but it was something to do with it becoming magnetized and attracted to balls nearby. Maybe worth checking that the gate isn't magnetic.
Good luck