Fixed alert view disappearing when keyboard appears under iOS 8.