I have NVIDIA graphic card and this is the problem. I updated the drivers and haven't had any weird stuff so far *hula dance*
Many thanks to Aliwag for the hint.
newtosims: if you have NVIDIA graphic card, this might be your problem as well.
Missing D3DERRNVIDIA issue