When no cursor is set (so the system cursor is used), the EditBox throws a NullReferenceException because it tries to access the resource of the system cursor - which has no resource.
This pull request fixes the issue without breaking the normal behaviour.
If you want to verify that this works, my fork contains a branch system-cursor before and after the fix (which is the last commit) and a branch uv-cursor before and after the fix (which is also the last commit) so you can verify that this change does not break old behaviour and fixes the NRE.
When no cursor is set (so the system cursor is used), the EditBox throws a NullReferenceException because it tries to access the resource of the system cursor - which has no resource.
This pull request fixes the issue without breaking the normal behaviour.
If you want to verify that this works, my fork contains a branch system-cursor before and after the fix (which is the last commit) and a branch uv-cursor before and after the fix (which is also the last commit) so you can verify that this change does not break old behaviour and fixes the NRE.