Issue #7: small bug in rectangle right border