Stop moving cursor before and after filling