Fixed EvenlyDistributeVertically and EvenlyDistributeHorizontally.

The original list of parts that was passed in was being used during alignment and not the sorted list.