Fixed portrait issues