Fix implicit shaders with custom image in OpenGL1 (issue #36)