fixed crash when launching in iPad landscape