Fixed bug with right and left content offsets