Fixing animation speed.
First and last frame has to be same, to prevent glitching.