Change the rendering of entities (again), fix the last frame of
explosion's animation not showing, code cleanup.