fix cursor pointer issue in the UI