It's not a bug, if you don't switch modes back to the main gun when changing weapons then it'll stay on that mode. It won't be patched, it's there to stop people from switching to a gun with a low reload time to cancel out the item switching timer for attachments