Fix the vertex userpayload code