Fixed autorotation when using initWithFrame