Bug 971633 - Add filtering of expired input events. r=mwu