Fix jagged edges