Fixed small optimization regression in mesh renderer