Handle cursor change via mouse properly