Not sure about any other issues. But I believe using #IfWinActive Recoil you need to turn off context sensitivity by placing just #IfWinActive at the end of your coding.
https://www.autohotkey.com/docs/v1/lib/_IfWinActive.htm#Basic_Operation
https://www.autohotkey.com/docs/v1/lib/_IfWinActive.htm#Basic_Operation
Statistics: Posted by V0RT3X — Today, 08:03