Fixed bug with Notepad OnResize event where it was trying to move nil widgets.