Change when the cursor via css is changed