adjust rect for negative values