fix char display, caused by wrong resolution