fix link clicking problem on container creation