Changed Texture::bind and Shader::bind to be static functions, that can accept a null argument