Fixed xdomain flash issue