Try these steps:
Make sure you are running the bot as administrator
Run the game in fullscreen mode, if you are running in fullscreen already try switching to windowed mode on the lowest resolution option and make sure not to re-size the window
If both of those don't work try downloading a fresh version of hearthbuddy.