Fixed bug in 'grayed' style in case of Ctrl-C.