Changed to respect frame used in initWithFrame
Merge pull request #5 from pompopo/fix_resize_issue

issue #4 Changed to respect frame used in initWithFrame