Update bounding boxes, decals, sprites, and models correctly for entities when changing class types. Fixes #174.