Fixed weirdness with iOS app mode opening in a new window