BTW look at this...

VB Code:
  1. Dim rTemp as Rect
  2.  
  3. rTemp.Left = SpriteX
  4. rTemp.Top = SpriteY
  5. rTemp.Right = rTemp.Left + ddsdSprite.lWidth
  6. rTemp.Bottom = rTemp.Top + ddsdSprite.lHeight
  7. ddBackBuffer.BltFast SpriteX, SpriteY, ddBackground, rTemp, DDBLTFAST_WAIT


This is a DX example...(I'm always using DX, so thats why my code is in DX... ...It makes a rect called rTemp. The code sets the left,RIght,Top,and bottom properties that the sprite had. Then in the last line it Blt the background to the "screen", but it is only Blting the part of the background that rTemp is telling it to....you will have to write the last line here in your code using the form of blitting you are using....I don't know how you have written your code, so I can't tell you more specific...