Don't render the overlay when the chat or a GUI is open.