Remember that just a year before Battle of Vienna, tsar Feodor Alexeyevich passed away, what resulted with Moscow Uprising of 1682. In result, all the power was gained by Sophia Alekseyevna, who became the regent of Russia. The future tsar, Peter the Great, was only 10 years old.
Following the uprising, the internal situation of Russia was very unstable, with Prince Ivan Khovansky trying to get the regency for himself. In the fall, after the prince was executed, another rebellion started in Moscow, which even succeeded to take over the Kremlin.
In this situation, foreign politics became less important for a while and any idea of moving the army away from the country in such hard times, surely would be considered as a risk not worth to take.