Stable GUI implementation for mouse cursor