Change cursor while editing, and fix a crosshair display bug