Fix Panel mode alignment