Fix bug for the show keyboard after picking media.