Fixes for bot failing on right click.

Currently not working, fix needs fixing.