Tool gun bug

Every once in a while after I select a tool in the tool gun it keeps changing the selected tool (e.g from color to rt camera to precision)