Fix panel height on editor resize

This is for #2