Hide offscreen anigifs to improve CPU performance