Move null image handling into animate image to see if that fixes homebrew