Added an event for entity rendering

The event is called at the beginning of every entity rendering, so it should make it possible to change non-living entities