Fixed to proper render funtion, new arrow images

Render function requires a variable as a parameter. Changed code to meet
requirement.