So what I did was go to Retroarch menu, options, disable crop overscan. And then I went to settings, video, and set every game to the "core" aspect ratio. That fixes Castlevania. Only game that looked weird was Battletoads, which has a black bar on the left side... but that's an issue with the game.