What to do when you accidently drag an event box/object/variable outside of the actual editor window? ???
That should result in the borders being extended, so that you can still access things. If not, you can open it up in a text editor and locate the lines and edit the coordinates or delete the line.