Added fix to not shrink view if an external keyboard is being used instead of the default.