I’m posting the answer here because I couldn’t find any information on the Internet.
My problem was that in buttons didn’t call (Evnet press) if the server wasn’t looking at (3D Wdiget). Checking the box (Tick when Offscreen) solves the problem.