Made error messages more useful for animation sprites