fix: issue with time settings

sometimes the speed for animations wasn´t calculated cocorrectly