Have you checked whether the profile you're using is set up to switch profiles in its commands?
How are the targeting options for that profile and its commands configured?
VoiceAttack does not switch profiles unless instructed to using an action, GUI input, command line parameter, plugin/inline function method, or the automatic profile switching feature (provided the "Enable Auto Profile Switching" option on the "General" tab of the VoiceAttack options window is enabled, and at least one profile has its "Enable profile switching for the following windows or processes" option enabled).
One of these things is causing profile switching; None of them are configured to occur without user input by default.