Hello, everyone, i have posted my question on answerhub, but no one answered. i hoped that if i duplicate my qustion here it will double my chances to get help =))
the question itself here Viewport losing focus on mouse click - Programming & Scripting - Epic Developer Community Forums