hide x11 window after creation
fix x11 algorithm for apps like firefox.