Click Disabled on windows 10 platform

I have a strange problem. When my app launches the click function is disabled and is only enabled after I right click with the mouse. How do I stop this from happening?