IE10 undefined fix

something about IE causes an event to come in without these properties