dim inactive and cursorcross