I have the following code:
UIImageView *imgView = [[UIImageView alloc]initWithFrame: description.frame];
imgView.image = [UIImage imageNamed: @"textview.png"];
[description addSubview: imgView];
[description sendSubviewToBack: imgView];
[imgView release];
where description here is a UITextView. I have an image that I would like to set as the background of this. However the resulting interface looks like this:

The size of the image is exactly the same as the size of the UITextView
the image is not placed at right place because your
description.frame.origin.x!= 0, its due to this reason you are getting bug.