Added depth to sprites based on entity depth, closes #19. Not quite properly tested, but seems to work.