Sometimes when the default fragment shader is used a_texcoord is optimised out which can cause GL errors. Also adds the same check for a_position preemptively
Sometimes when the default fragment shader is used a_texcoord is optimised out which can cause GL errors. Also adds the same check for a_position preemptively