What do you mean by not "properly" obeying the rect transform? Could you please share a screenshot or describe in more detail?
By the way, this post was tagged with the Tutorial tag, but since the question is about Unity, I changed it to the Unity tag.