Fix animation frame length