Fix alert window for multi orientation applications