smooth motion offset bug fixed