Fix regression: now it is important to set cursor after doc.save().

Document simulations will apply operations at save.
Due to the new automatic Selection changes on operations
one needs to set a selection afterwards if the default behavior
should be overridden.