Reimplemented original addToOffset method.