Fix admin rendering bug