Run gif animations on their own thread.