Fix velocty render bug on mac