This patch fixes the redraw bug of notebook tabs.
If an inactive tab is only partly visible before
an expose event, only the invisible part of
the label is exposed, while the rest gets erased.
Besides, the shadow of gtk_draw_polygon was drawn
incorrectly in some cases.

This patch may be not very elegant, but it works. ;)
