Fixed random blank screen login issue