Fixed #3659: Fixed a bug related to the event location conversion