Fixed the app crashing after adding ScrimInsetFrameLayout