fix an issue with release graphics resources
If someone released graphics resources it sets the callback to an empty Window but leaves the Context Set. If they then set the the context back to the same context is was not setting the new WindowId on the texture. Arguable Releasing graphcis resources should set the Context to NULL but I am going with this fixas it more closely matches the old behavior of leaving Context set.