The CPU consumption is high (~50%) when mouse moves in empty space.  The Kotlin version only uses ~20% (still high). 