Bug 1061660 - Fix some missing show transitions on BaseUI elements. r=alive

Flush the style after element creation so that animations associated with
the visible class play.