Fixing small rendering bug