Fixed small bug in updating node geometry.
Changed the parameters of the ResizeClientWindow method of WindowLayout.