Fix simplification of render function pointer setup