fixed some rendering issues.

Signed-off-by: Ian Hills <icopy11@gmail.com>