Make sure to use the correct attribute locations when rendering.