Fixed the deprecation of MethodInsNode
Added setter for defaultTexture
Added check for bindTexture to not rebind the same texture multiple
times