It sounds like the issue might indeed be related to overheating, especially if you've noticed improved performance when the unit cools down. Overheating can lead to various malfunctions in electronic devices, including erratic behavior and unresponsiveness.
Adding fans for additional cooling is...