Avoids random height from ApplicationWindow