Animation positions horizontally are now being calculated correctly.