Fixing crash for undefined terrain type encounters
Support for events bigger than 1*1... super useful for teleports