Fix index out of exception inside UserEventDispatcher

Change-Id: Ie043ba8185c4dcd794067421682d8b4bb6095c9f
1 file changed