Fixed animation selection bugs.