When going inside scaffolding, the sprint button goes grey. The issue is that when your sprint is enabled and you go inside the scaffolding, it shows a greyed out button with the sprint button disabled. And with the sprint button disabled, it will show a greyed out button that's enabled.
Likely related to MCPE-154308.