[bugfix] update last pos before any action