Fixing view event detail bug