fix truncation at bottom of editor