Improve cursor size setup
Centralise resolution-dependent computation into the leaf cursor class. Listen to scale changes and update the cursor when it happens
Reviewed by David Edmundson