How to fix video glitch Minecraft Feed the Beast?

I've been having a glitch with my Minecraft Feed the Beast, in which invisible lines go through blocks, and my character has lines outside himself. I've been having for a few weeks now, and it happened after I started doodling on my computer settings trying to fix a crashing problem. It has been happening on all the versions of Feed the Beast and on vanilla, but fortunately on vanilla it only has the lines on the blocks and is easily fixed with Anisotropic Filtering all the way up to 16. I downloaded Optifine and adjusted the the anisotropic filtering on Feed the beast Unleashed, it fixed the lines through blocks but not the character. I tried downloading Optifine on Magic World 2, and did the same thing, but it keeps making me crash even though it was fine without Optifine before. I was hoping somebody else had a solution before I wipe my PC completely to fix the problem.
How to fix video glitch Minecraft Feed the Beast

Added (1). I have deleted the.minecraft and everything I could, and it still comes up with the bug.

I don't know if you have done this but try and delete.Minecraft, but make sure you get your saves before deleting. To do this go to the start menu and type in %appdata% and you should be in the roaming folder. Check at the very top and you should see.Minecraft. (BEFORE DELETING GET YOUR SAVES) and then delete.minecraft