fixed a bug in ace, where the editor goes blank if resized off-screen