Fix PatternField::mirror() was not working correctly.