Use screenshots and fix animation in firefox