Changed how the background of the textfield is created in order to support iOS < 6.0