Calling Blueprints in the Editor/Running Editor Utility Widget only work after clicking on viewport

It appears that this problem occurs only on a VM in azure. At my laptop, both calling blueprints events in editor and running editor utility widgets, work as intended.