fixed bug that made set/unset keyframes slow down