Be a little more patient when trying to gain window focus