Fix for init bug.
Fixed iPhone6+ landscape issue
Suppressed deprecated warning (code is present for compatibility only)