cursor moved to the bottom due to doupdate()

Change-Id: I7ba8836bb08ddb5b7e6008bf8166852268633afb