That is different. Have you tried to reboot the phone, where you hold the side power button for 10-30 seconds and swipe to power off, then power back up and see if it still happens?
If you have tried that and it didn't work, have you tried to restore your iPhone? Back it up to iTunes, then turn off Find My iPhone, and Restore the iPhone. This will erase everything off of the iPhone and reinstall iOS (upgrading you to the latest version) and after that is complete you can choose to restore the backup you just made.
That should fix it if it was caused by a bad install.