Phone reboots after audio play back

So I recently replaced the screen on my Xiaomi M1 A1. The new screen works fine but when ever I play audio via the on board speakers it reboots after playing for a second. Audio from the audio jack works fine. Anyone have any ideas?

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

crwdns2934109:0crwdne2934109:0

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