implemented fill-mode to the SpriteAnimation class.