Fix border discontinuity