fix call stack overflow on form focusing. fixes #38.