Bug 1500689 - Only update the frame button checked state if it is visible. r=mtigley