MOHAWK: Fix cursor group memory leak