fix issue with separate canvas for border