fixed login transition problem (upgrade to unity 4.2)