Added support for changing mouse cursor