Sorry, I don't use jQuery. And even if I did, I think the problem is in one of the libraries you are using, which would be tough to fix. You may have to find a different library.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.