Fixed a bug where UIs were initialized and positioned at (0,0), but were
unhidden.