Relative location broken for C++ created component

UE5.2 here:

Closing down the editor and IDE and then deleting the Binaries, Intermediate, and Saved folders did the trick for me.