Fix bug where QR codes weren't clearing.