no need to care about window_handles anymore (fix #3105)