Maybe try to recreate your Normal.mxt and Normal.gxt to see if that solves the issue.
Are there any other features of ArcMap/ArcCatalog 10.5.1 that are not working for you?
If so, you might want to try a repair.
If that does not work maybe a re-install.