Updated entity.cs to clear velocity after it has been updated