Fix draft rendering in dev mode