Added cursor functionality for other UI elements (untested)