I had the same autofire bug. All the above solutions did not work. What did work was this:
Goto Oprions>Controls>Auto attack and choose any option and hit ok. Just change the dropdown, hit ok, then right click your weapons and they go "green" again--and stay. You can go back and change that Auto Attack setting again and all is still good.