Support on_return for ingame windows.