I have not found any fix for this yet and came up with a solution by sending an Esc keypress to TP when Esc is pressed on the keyboard. Put the script in the running scripts
Esc::
{
; Replace "GameRunning" with the process name for TeknoParrot if it ever gets changed
TeknoParrotExe := "GameRunning"
; Send Esc to TeknoParrot
IfWinExist, ahk_exe %TeknoParrotExe%
{
WinActivate
Sleep 100
Send, {Esc}
}
}