Fixed alert position error when keyboard shown issue.