Fixing a bug in IE11 where the event was being read incorrectly