Fixed time not being updated when playing animations