Fix hooks/renderer so that it won't run while in admin.