Fix #8 by changing UIBar-layout reset timing.