avoid negative sprite sequence lengths