fix cursor repositioning after sequence insertion