fix issues with widget cursor