Try to delay setting visibility visible until right before transition is called.