Fix logic in QR.toggleHide.