Fix graphical artifacts when using multiple VncSharp instances

A user reports graphical artifacts when using multiple VncSharp instances in same process. 
This fix solve the issue