Fix activity stack when restarting the screen nail