fixed animation speed linked to framerate.