I think it is a design flaw, putting a security component in a common fail assembly, a fragile glass cover.
Sony chose to put their touch ID sensor in a side button. I wonder if they thought of this, it sure looks like a smart design decision in light of this.