Fix cursor issue in tools panel