iPhone overheating? Also my display is glitching

I have recently purchased an iPhone 7 battery from ifixit, receiving it today I cracked open my phone (as I have many times before) and paced in the new battery. I began to notice some things when I felt my phone was extremely hot, I had also noticed that my screen sometimes glitches and shows 2 images and inverts the color (though touch was just fine). I have no idea what the problem is if there really even is one and would appreciate help on this.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0