Roll back translate function to original, fixed pipeline behavior.

Misunderstood the desired functionality of translate when modifying it. Changed function back to original behavior.