[DF-3978] fix for setting multithreaded property for OpenGL context