Every time the "This is bait" -window appears, it yoinks the "active" -status from the chat window you're trying to type into.
Worth noting that you can't even interact with "This is bait" -window using keyboard shortcuts, meaning the window has zero need to ever be the "active" window.