Problem with updating during layout was fixed
Event handling model was changed