Fix for deleting the second to last animation frame, see #51