Fix invisible windows updating and drawing

Not only it's unnecessary — it also prevents us from making the dummy
context active in any thread since it's constantly active in the thread
of its window.
Deactivate the dummy context after its creation

Deactivate the dummy context after its creation to free it up for other
threads.