I play this game that i would like to automate which requires little mouse movement as well as some keyboard inputs. While the code works(most of the time), sometimes it dosnt