fixed autofocus bug while playing and creating/updaing cards