Added some more work with ordering the entities when rendering. Now the
overlapping is better when walking in front of each other.