fix widget size in webkit