Fix crash regression in TimelineDock::setPosition().