Added code to throttle mouseMove events. This helps with the segfault issue.