Clicking out of the Packaged Product Freezes Game

I have a project that uses the mouse to navigate a menu. However, when the mouse clicks out of the game window, the game sort of “freezes” or slows down greatly. Is there any way to keep the packaged product running exactly the same regardless of whether the window has been clicked in or not?