Fix a timing issue that causes automation to break
Merge pull request #53 from adobe-photoshop/dk/cache-menu-events

Fix a timing issue that causes automation to break