Revert "[4.0] fix that some animated-gif files are not playing"