Adjusted to new ezEngine version