Rounded xShift correctly