Try the following to fix it.
1. Shut down the Mac.
2. Turn on the Mac.Press and hold the Command-Option-P-R keys immediately after you hear the startup sound.
3. Hold these keys until the Mac restarts and you hear the startup sound for a second time.
4. Release the keys.
This is how your screen should look like after: