Fixed and iPad orientation bug