See comment above about the relationship between xOffset and width, etc.