Fix editor height problem