Fix Animation computations for 8bit values.
Fix KeyFrameAnimation repeat count and current frame position.