After focusing an element, you always need to use a timeout to account for IE's async focus handling.