prevent event location wrapping