Used the proper variable for positioning.