Trying to Hide Stamina Bar when at 100%

I have max stamina set to 100 elsewhere. Is that good enough to fix the potential problem?