Sorry I forgot to paste this in on my previous post.
It happens at boot in emulationstation in emulators and in kodi
Pi Model or other hardware: Pi 3b
Power Supply used: 5v 2.5a
RetroPie Version Used: 4.4
Built From: retropie website
USB Devices connected: all controllers and keyboard
Controller used: ps4 wired, dragon rise, Xbox 360 wired
Emulator: all and shell and kodi