[Create GIF with ImageMagick] Fix error when all bookmarks are out of range