Adopt Unit code to FIFE API changes

https://github.com/fifengine/fifengine/commit/6745ab56b1dfb9f06322d8eabb2988273d0ee2ea