Fix gif with no repeatcount (i.e. -1) not animating when loaded
Comment previous change
Merge branch 'bugfix-10843' into release-6.0.1