I've had this bug for a while now and attempted to solve it myself but alas I failed ^^.
Essentially, sometimes when I use an item (weapon, potion, summon, anything) that's in my hotbar, once I stop pressing left click the hotbar will automatically switch to whatever is in the 9th slot (see...