Fix outline generation.