Restore cursor back to default when shape tool is deactivated

[#77723316]