codeeditor: fixing world scroll when focusing an editor that overlaps the window bounds