Add hacky delay to hide keyboard during page transitions