[BUG #8634] Fixed widget initilization