Bug fix for mouse region