Add mouse cursor callback