Clip drawing on widgets