Fix for deleting the first animation frame.