Fixed returning value of correct variable for outline borders