console: fixed incorrect fgcol/bgcol in some cases

cursor, invisible and blinking text now rendered correctly