fixed some rendering errors

Signed-off-by: FNox <kamaitama@gmail.com>