Modified animations so the last frame is always reached