improvement of cursor behavior on move