Better setting of cursor color