Fix some bug in cursor moving system