'Use of uninitialized value in rand at code/lib/AnimatedSprite.pm' bug fix