Fixed minor bug with entity speed.