fixed rendering bugs

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>