QR Code does not turn green

I have recently noticed that the Barcode Scanner works very poorly. The line in the center indicating if the barcode has been scanned does not work smoothly. It doesn’t matter what angles or how zoomed in I am, it does not turn green. It turns green for a split second on some rare occasions, but then disappears.
I couldn’t find anyone else with a similar problem, please let me know if there is a fix, or perhaps a third party that could help.

The built in barcode scanner does not read QR or 2D type barcodes. Only linear barcodes.