Remove entities copy by using shared pointer. This is still not the best
thing to do, since it does memory allocation in game loop.